* {
    margin: 0;
    padding: 0;
    text-decoration: none;
}

/* 背景图片 */
body {
    width: 100%;
    height: 100%;
    /* background: repeating-linear-gradient(to bottom, #ff0, #0f0); */
    background-image: url(../imgs/imgs4.jpg);
}


/* 右边导航栏 */
.nav {
    position: sticky;
    top: 0;
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: flex-end;
    /* background-color: #B7B197; */
    z-index: 1;
}

.nav a {
    width: 86px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    margin-left: 15px;
    color: black;
    font-size: 20px;
    font-family: 'webfont';
    /* transition: all 1s ease-in-out; */
    transition: first 1s ease-in-out;

}

.nav a:hover {
    /* background-color: rgba(232, 155, 13, .5); */
    width: 86px;
    height: 50px;
    border-bottom: 3px solid rgb(155, 134, 127);
}

.special {
    border-bottom: 2px solid rgba(243, 233, 206, .6);
}

/* 搜索框和表单大框 */
.center3 {
    width: 1300px;
    height: 100%;
    margin: 15px auto;
    /* background-color: #2C2723; */
}

/* 搜索框 */
.nav-search {
    /* 将父元素设置为flex布局 */
    display: flex;
    width: 100%;
    height: 100px;
    /* background-color: yellow; */
}

/* 搜索div */
.nav-form-group {
    position: relative;
    top: 15px;
    left: 200px;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 80px;
    text-align: center;
    line-height: 80px;
    border-radius: 15px;
}

/* 搜索书籍框 */
.nav-search .nav-form-group input {
    height: 30px;
    outline: none;
    font-size: 16px;
    outline-style: none;
    border: 0px;
    background-color: rgba(0, 0, 0, 0);
    border-bottom: 0.5px solid rgba(155, 134, 127, .5);
    font-family: 'webfont';
}


/* lable标签 */
.booksname {
    font-family: 'webfont';
    border-right: 1px solid #2C2723;
}

/* 焦点 */
.nav-search .nav-form-group input:focus {
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(155, 134, 127, .5), 0 0 8px rgba(155, 134, 127, .5);
    box-shadow: inset 0 1px 1px rgba(155, 134, 127, .15), 0 0 8px rgba(155, 134, 127, .25);
}

/* 搜索按钮 */
.nav-search .nav-form-group input[type="submit"] {
    width: 60px;
    margin-top: 14px;
    margin-left: 18px;
    background-color: #A7A39E;
    border: none;
    color: black;
    max-width: 100px;
    cursor: pointer;
    border-radius: 5px;
}


/* 搜索按钮 */
.nav-search .nav-form-group input[type="reset"] {
    width: 60px;
    position: absolute;
    top: 26px;
    left: 312px;
    background-color: #A7A39E;
    border: none;
    color: black;
    max-width: 100px;
    cursor: pointer;
    font-family: 'webfont';
    border-radius: 5px;
}

.nav-search .nav-form-group input[type="submit"]:hover {
    color: rgb(63, 53, 53);
}

.nav-search .nav-form-group input[type="reset"]:hover {
    color: rgb(63, 53, 53);
}

/* 公告栏 */
.tip {
    width: 200px;
    height: 150px;
    margin-top: 150px;
    border-radius: 15px;
    background-color: rgba(92, 75, 69, .6);
    box-shadow: 0 5px 15px rgba(143, 137, 137, 0.8);
    backdrop-filter: saturate(180%) blur(5px);
}

.tip p {
    line-height: 45px;
    text-align: center;
    color: rgb(10, 9, 9);
    font-family: 'webfont';
    user-select: none;
}




/* 表单 */
.importants {
    margin-left: 230px;
    margin-top: -300px;
    width: 1000px;
    height: 100%;
}

.displayid {
    display: none;
}

table {
    margin-top: 25px;
    width: 100%;
    border-collapse: collapse;
}

table td,
table th {
    border: 1px solid rgb(155, 134, 127);
    text-align: center;
    padding: 10px 0;
}

/* 列表名 */
table .firstTr {
    /* background-color: #008c8c; */
    background-color: rgb(155, 134, 127);
    color: #2C2723;
    font-family: 'webfont';
}

/* tr偶数颜色 */
.realitic-content:nth-child(odd) {
    background-color: rgba(91, 72, 67, .7);
    cursor: pointer;
}

.realitic-content:nth-child(even) {
    background-color: rgba(150, 125, 117, 0.7);
    cursor: pointer;
}


.realitic-content:hover {
    background-color: rgba(137, 120, 124, .5);
}

table tbody tr td:first-child {
    color: #613917;
}

/* 操作 */
.detail {
    display: block;
    float: left;
    width: 50px;
    height: 30px;
    margin-left: 30px;
    line-height: 30px;
    border-radius: 5px;
    background-color: rgba(72, 58, 47, .8);
    color: #D1AC99;
    outline-style: none;
    border: 1px solid rgba(72, 58, 47, .8);
    font-family: 'webfont';
}

.detail:hover {
    color: rgb(207, 161, 126);
}

.realitic-content .borrow {
    color: #a64b1d;
}

.realitic-content .borrow:hover {
    color: #cc581f;
}

/* 遮盖层 */
.container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* 遮盖层 */
.container-content {
    position: fixed;
    top: 25%;
    left: 60%;
    margin-left: -25%;
    width: 25%;
    height: 20%;
    min-width: 31.125rem;
    min-height: 18.625rem;
    border-radius: .125rem;
    background-color: white;
    font-family: 'webfont';
    border-radius: 10px;
    z-index: 2;
}

.content-detail {
    width: 100%;
    height: 200px;
    text-align: center;
    line-height: 200px;
    font-size: 25px;
    /* background-color: #2C2723; */
    user-select: none;
}

/* 弹框按钮 */
.decoration {
    position: relative;
    top: 40px;
    left: 90px;
    width: 100px;
    height: 50px;
    border: 0;
    outline: none;
    box-shadow: 0 2px 5px rgb(107, 96, 96);
    border-radius: 10px;
    cursor: pointer;
}

/* 确认按钮 */
.determine {
    background-color: rgb(56, 138, 231);
    font-family: 'webfont';
    font-size: 20px;
}

.determine:hover {
    background-color: rgb(23, 126, 244);
}

/* 取消按钮 */
.canle {
    margin-left: 150px;
    background-color: rgb(134, 129, 129);
    font-family: 'webfont';
    font-size: 20px;
}

.canle:hover {
    background-color: rgb(157, 141, 141);
}

/* 借书成功弹框 */
.container1 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 2;
}

/* 遮盖层 */
.container1-content1 {
    position: fixed;
    top: 25%;
    left: 60%;
    margin-left: -25%;
    width: 10%;
    height: 20%;
    min-width: 31.125rem;
    min-height: 18.625rem;
    border-radius: .125rem;
    /* background-color: white; */
    font-family: 'webfont';
    z-index: 2;
}

/* 借书成功 */
.content1-detail {
    width: 100%;
    height: 200px;
    margin-top: 150px;
    text-align: center;
    font-size: 20px;
    user-select: none;
}

.content1-detail p {
    color: rgb(17, 198, 17);
    width: 350px;
    position: absolute;
    top: -138px;
    margin-left: 90px;
    background-color: rgb(214, 246, 198);
}

/* 借书失败弹框 */
.container2 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 2;
}

/* 遮盖层 */
.container2-content2 {
    position: fixed;
    top: 25%;
    left: 60%;
    margin-left: -25%;
    width: 10%;
    height: 20%;
    min-width: 31.125rem;
    min-height: 18.625rem;
    border-radius: .125rem;
    /* background-color: white; */
    font-family: 'webfont';
    z-index: 2;
}

/* 借书失败 */
.content2-detail {
    width: 100%;
    height: 200px;
    margin-top: 150px;
    text-align: center;
    font-size: 20px;
    user-select: none;
}

.content2-detail p {
    color: rgb(144, 147, 153);
    width: 350px;
    position: absolute;
    top: -138px;
    margin-left: 90px;
    background-color: rgb(219, 219, 227);
}

/* 分页 */
/* a标签 */
.page-normal a {
    border: 1px solid rgb(66, 53, 48);
    padding: 5px 7px;
    color: #CFA17E;
    margin-left: 20px;
}

.page-normal a:hover {
    background-color: rgba(66, 53, 48, .6);
}

/* 设置整个div */
.page-normal {
    color: rgb(66, 53, 48);
    height: 62px;
    margin-left: 830px;
    margin-top: 25px;
    text-align: center;
}

/* 设置当前页面 */
.page-normal .page-current {
    color: #ffffff;
    background-color: #857479;
}

/* 设置左单括号< */
.page-normal .page-prev {
    color: rgb(131, 115, 118);
}

.page-normal a,
.page-normala:hover,
.page-normal .page-prev,
.page-normal .page-current {
    border: 2px solid #746561;
    padding: 5px 7px;
}
.tables .proceeding{
    width: 350px;
    height: 37px;
    text-align: center;
    background-color: red;
}

